package ar.com.temporis.system.domain;

import ar.com.temporis.framework.domain.Entity;
import ar.com.temporis.framework.persistence.PersistenceTestCase;
import ar.com.temporis.system.domain.Foo;

/**
 * 
 * @author matias
 *
 */
public class FooPersistenceTestCase extends PersistenceTestCase {

	@Override
	protected Entity createEntity() {
		Foo foo = new Foo();
		
		foo.setName("foo");
		foo.setObject("hola viteh");
		
		return foo;
	}

	@Override
	protected void modify(Entity entity) {		
		((Foo) entity).setName("foo");
	}
	
}
